var express = require('express');
var router = express.Router();

const { login, register } = require("../controllers/usersControllers")
//  登录
router.post('/login', login);


// const {register} =  require("../controllers/usersControllers")
// 注册
router.post('/register', register);


module.exports = router;
